#define _CRT_SECURE_NO_WARNINGS

#include"Stack.h"

void STInit(ST* ps, int n)
{
	assert(ps && n > 0);

	ps->a = (STDatatype*)malloc(n * sizeof(STDatatype));
	ps->top = 0;
	ps->capacity = n;
}
